public with sharing class Loan 
{
	private static String STYLE_CLASS_LEFT = 'refund-result-left';
	
	private static String STYLE_CLASS_RIGHT = 'refund-result-right';
	
	public Integer index {get;set;}

    public boolean selected {get;set;}
    
    public loanRequest__c request {get;set;}
    
    public LenderLoan__c lender {get;set;}
    
    public Attachment image {get;set;}
    
    private String styleClass;
    
    public void setStyleClass(String styleClass)
    {
    	this.styleClass = styleClass;
    }
    
    public String getStyleClass()
    {
    	if(Math.mod(this.index, 2) == 0)
    	{
    		return STYLE_CLASS_LEFT;
    	}
    	return STYLE_CLASS_RIGHT;
    }
    
}